package com.liang.mall.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liang
 * @since 2021-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bz_file")
public class File implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String filePath;

    private String fileNewName;

    private String fileOldPath;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Integer createUser;

    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer deleted;


}
